package org.threebitsoftware.tbb.dao;

public interface DatabaseObject_Interface {

	/**
	 * Stores the object to the database.
	 * @return
	 */
	public boolean storeObject();
	
	/**
	 * Loads an object from the database based on the 
	 * information already contained in the object.
	 * @return true if worked, false otherwise.
	 */
	public boolean loadObject();
	
	/**
	 * Loads an object from the database based on the 
	 * information already contained in the object.
	 * @param myId The integer ID of the object to retrieve.
	 * @return true if worked, false otherwise.
	 */
	public boolean loadObject(int myId);
}
